<?php
/**
 * Created by PhpStorm.
 * User: wangsentao
 * Date: 2018/3/2
 * Time: 下午12:09
 */

namespace app\common\Model;


class PayLog extends BaseModel
{
    public static $tab_name = 'pay_log';

    protected $resultSetType = '';

    const RECHARGE_ORDER = 1;
    const SHAOHUO_ORDER = 2;
    const WITHDRAW_ORDER = 3;

    //1: 充值 2：下单 3：提现 4：收入     由何种操作产生
    public static $pay_event = [
        '1' => '充值',
        '2' => '下单',
        '3' => '提现',
        '4' => '收入',
        '5' => '退款',
    ];

    //支付渠道 1：支付宝  2： 微信    0：余额
    public static $pay_channel = [
        '0' => '余额',
        '1' => '支付宝',
        '2' => '微信',
    ];

}